package com.study.csc.a01threadcase1;

/**
 * @author csc
 * @Date 2023/10/18 10:09
 * @PackageName:com.study.csc
 * @ClassName: MyThread
 * @Description: TODO
 * @Version 1.0
 */
public class MyThread extends Thread{

    @Override
    public void run() {
        super.run();
        //书写线程执行方法
        for (int i = 0; i <100 ; i++) {
            System.out.println(getName()+" hello word"+i);
        }
    }
}
